/**
 * @author Florent
 */
function Monde(temperature, tempo, pression) {
	this.temperature = temperature;
	this.tempo = tempo;
	this.pression = pression;
	this.tab_cellule = new Array();
	this.tab_molecule = new Array();
	this.tab_cc = new Array();
	
	this.supprimerCellule = function(x, y) {
		for (i = 0; i < this.tab_cellule.length; i++) {
		}
	};
	
	this.supprimerMolecule = function(x, y) {
	};
	
	this.supprimerCc = function(x, y) {
	};
	
	this.ajouter = function (entite){
		switch (typeof entite){
			case Cellule:
				this.tab_cellule.push(entite);
				break;
			case Molecule : 
				this.tab_molecule.push(entite);
				break;
			case Cc :
				this.tab_cc.push(entite);
				break;	
			default :
				break;
		}
	};
}
